#include "Test.h"
#include "MyTestCommandTool.h"

#if defined(_MSC_VER)
#define _PluginExport  __declspec(dllexport)
#else
#define _PluginExport
#endif


extern "C" void _PluginExport dllStartPlugin();
extern "C" void _PluginExport dllStopPlugin();

OCPP::CommandTool* gCommandTool = NULL;

extern "C" void _PluginExport dllStartPlugin()
{
	gCommandTool = new OCPP::MyTestCommandTool();
	OCTest myTest;
	myTest.start();
}

extern "C" void _PluginExport dllStopPlugin()
{
	CORE_SAFE_DELETE(gCommandTool);
}

